/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package auborncorpcardealer;

/**
 *
 * @author TQNINH
 */
public class CarDetail {
    String productName;
    String productID;
    String description;
    String manufacturer;
    Double price;
    
    public CarDetail() {
        
    }
    
    public CarDetail(String pName, String pID, String descr, String mft, Double cost) {
        productName = pName;
        productID = pID;
        description = descr;
        manufacturer = mft;
        price = cost;
    }
    
    public String toString() {
        return "Product Name: " + productName +
                "\tProduct ID: " + productID +
                "\tDescription: " + description +
                "\tManufacturer: " + manufacturer +
                "\tPrice(in lakhs): " + price;
    }
}
